package com.ruoyi.notes.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 备忘录对象 index_notes
 * 
 * @author wkm
 * @date 2024/12/19
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class IndexNotes
{
    private static final long serialVersionUID = 1L;

    /** 备忘id */
    private String notesId;

    /** 备忘标题 */
    @Excel(name = "备忘标题")
    private String notesTitle;

    /** 备忘内容 */
    @Excel(name = "备忘内容")
    private String notesContent;

    /** 备忘日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "备忘日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date notesDate;

    /** 备忘时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "备忘时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date notesTime;

    /** 备忘作者 */
    @Excel(name = "备忘作者")
    private String notesUser;
}
